<template>
<div>
    <h1>这是动态解决切换问题</h1>
    
   <keep-alive>
        <component :is="Name"></component>
   </keep-alive>
</div>

</template>

<script>
import a02 from './02'
import a03 from './03'
import a04 from './04'
export default {
data(){
return {
    na

}

},
components: {
    a02,a03,a04
}
}
</script>
<style lang='less' scoped>

</style>
